package cn.com.gzheroli.service.bfw;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import cn.com.gzheroli.bfw.pojo.base.TSFunction;


public interface FunctionService {
	/**
	 * 获取功能列表
	 * @param dataMap{pid:上级功能编号}
	 * @return
	 */
	public List<Map> getFunctionList(Map dataMap);
	public List<Map> getFunctionMenuList(Map dataMap);
	public Long getFunctionMenuCount(Map dataMap);
	public List<Map> getMenuOptList(Map dataMap);
	public Long getMenuOptCount(Map dataMap);
	public void updateFunction(TSFunction function);
	public void saveFunction(TSFunction function);
	public TSFunction getFuncData(String id);
}
